package com.example.core

import android.app.Application
import android.content.Context

class BaseApplication :Application(){

    companion object{
        lateinit var currentApplication : Context

        fun currentApplication():Context{
            return currentApplication
        }
    }

    override fun attachBaseContext(base: Context?) {
        super.attachBaseContext(base)
        currentApplication = this
    }
    override fun onCreate() {
        super.onCreate()
    }
}